/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package modelo.personas;

import modelo.IGestorModelo;

/**
 *
 * @author raul
 */
public class GestorDocumento extends hibernate.GestorHibernate implements IGestorModelo<Documento>{
    private Documento modelo;

    public Documento getModelo() {
        return modelo;
    }

    @Override
    public void setModelo(Documento modelo) {
        this.modelo = modelo;
    }
    
    @Override
    public void guardar() {
        this.guardarObjeto(this.getModelo());
    }

    @Override
    public void eliminar() {
        this.eliminarObjeto(this.getModelo());
    }

    @Override
    public void actualizar() {
        this.actualizarObjeto(this.getModelo());
    }

    @Override
    public void crearModelo() {
        this.setModelo(new Documento());
    }
    
    public String[] getFiltros() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean noExiste() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean validaModelo() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void deshacerCambios() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
